<form class="layui-form layui-form-pane kaige-body-form" style="padding: 5px;" lay-filter="email_form_lay_filter">
    <input type="hidden" id="relation_id" value="{{ d.id }}" name="relation_id"/>
    <input type="hidden" id="relation_id_name" value="{{ d.name }}" name="relation_id_name"/>
    <input type="hidden" id="to" value="{{ d.email }}" name="to"/>
    <input type="hidden" id="relation_type" value="2" name="relation_type"/>
    <div class="layui-form-item">
        <label class="layui-form-label">邮件标题</label>
        <div class="layui-input-block">
            <input name="title" value="" class="layui-input" type="text">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">邮件内容</label>
        <div class="layui-input-block">
            <textarea placeholder="请输入内容" class="layui-textarea" name="content"></textarea>
        </div>
    </div>

    <div class="layui-form-item layui-hide">
        <button class="layui-hide" lay-submit="" id="email_form_btn_save" lay-filter="email_form_btn_save">保存数据
        </button>
    </div>
</form>